home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
ifl
/
TIFFReadRawTile.z
/
TIFFReadRawTile
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
TTTTIIIIFFFFFFFFRRRReeeeaaaaddddRRRRaaaawwwwTTTTiiiilllleeee((((3333TTTT)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll
NNNNAAAAMMMMEEEE
TIFFReadRawTile - return an undecoded tile of data from an open TIFF file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttiiiiffffffffiiiioooo....hhhh>>>>
ttttssssiiiizzzzeeee____tttt TTTTIIIIFFFFFFFFRRRReeeeaaaaddddRRRRaaaawwwwTTTTiiiilllleeee((((TTTTIIIIFFFFFFFF**** ttttiiiiffff,,,, ttttttttiiiilllleeee____tttt ttttiiiilllleeee,,,, ttttddddaaaattttaaaa____tttt bbbbuuuuffff,,,, ttttssssiiiizzzzeeee____tttt
ssssiiiizzzzeeee))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Read the contents of the specified tile into the (user supplied) data
buffer. Note that the value of _t_i_l_e is a ``raw tile number.'' That is,
the caller must take into account whether or not the data is organized in
separate planes (_P_l_a_n_a_r_C_o_n_f_i_g_u_r_a_t_i_o_n=2). _T_I_F_F_C_o_m_p_u_t_e_T_i_l_e automatically
does this when converting an (x,y,z,sample) coordinate quadruple to a
tile number. To read a full tile of data the data buffer should
typically be at least as large as the value returned by _T_I_F_F_T_i_l_e_S_i_z_e.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
The actual number of bytes of data that were placed in _b_u_f is returned;
_T_I_F_F_R_e_a_d_E_n_c_o_d_e_d_T_i_l_e returns -1 if an error was encountered.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
All error messages are directed to the _T_I_F_F_E_r_r_o_r(3T) routine.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_l_i_b_t_i_f_f(3T), _T_I_F_F_O_p_e_n(3T), _T_I_F_F_R_e_a_d_E_n_c_o_d_e_d_T_i_l_e(3T), _T_I_F_F_R_e_a_d_T_i_l_e(3T),
_T_I_F_F_T_i_l_e_S_i_z_e(3T)
PPPPaaaaggggeeee 1111